package com.cdut.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * author: xinmu
 * date: 2022/4/20
 * time: 16:16
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Good implements Serializable{
    @ApiModelProperty("商品id")
    private int gid;
    @ApiModelProperty("商品名称")
    private String gname;
    @ApiModelProperty("发布者的id")
    private int uid;
    @ApiModelProperty("描述")
    private String des;
    @ApiModelProperty("价格")
    private double money;
    @ApiModelProperty("上架时间")
    private Date time;
    @ApiModelProperty("分类标签")
    private String tag;
}
